package edu.zac.service;

import edu.zac.dao.EmpDao;
import edu.zac.pojo.Emp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Title
 * @Author Peihan.Zhang
 * @Email zhangpeihan@sjgtw.com
 * @Date 2021/10/19 19:25
 * @Versions 1.0
 */
@Service
public class EmpServiceImpl implements  EmpService {
    @Autowired
    private EmpDao empDao;
    @Override
    public void add(Emp emp) {
        empDao.add(emp);
    }
}
